WP_Defender\Component\Two_Factor\Providers\Backup_Codes S

Total Complexity 41
Dependencies 1
Dependents 2
Total lines 326
Lines of code 168
Logical lines of code 76
Comment lines 89
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
user_options()
S
50 6 28
generate_codes()
S
52 6 23
admin_notices()
S
50 5 32
validate_code()
S
60 5 12
get_unused_codes_for_user()
S
67 3 7
init_provider()
S
69 2 6
get_code()
S
65 2 8
validate_authentication()
S
69 2 6
is_available_for_user()
S
71 2 6
authentication_form()
S
66 1 10
get_description()
S
82 1 3
get_user_label()
S
79 1 3
get_login_label()
S
81 1 3
delete_code()
S
68 1 7
display_number_of_codes()
S
71 1 6
get_label()
S
79 1 3
__construct()
S
71 1 5